<?php
/**
 * desc 后台默认控制器
 * @author  tom_xia 
 */
require_once 'BasePriv.php';
class Home extends BasePriv{
	public function index()
	{
	    $a="123456";
	    $b="123";
	    $c=$a+$b;
	    if($c>10000){
	        $c=round($c/10000);
        }
        var_dump($c);
		$this->layout("right");
//		$this->layout();
	}
    public function loginout()
    {
        setcookie("user_info","",time()-3600,"/".SITE_PATH);
        redirect("site");
    }
}